import {Actor, Action} from 'iflux2';
import {CompanyType} from '../constant/action-type';

export default class ShipCompanyActor extends  Actor {
    defaultState() {
        return {
            expressCompany: []
        }
    }


    @Action(CompanyType.SET_COMPANYS)
    setList(state, expressCompany) {
        return state.set('expressCompany', expressCompany);
    }
}